#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QListWidgetItem>
#include <QTreeWidgetItem>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_pushButton_add_clicked();

    void on_pushButton_sub_clicked();

    void on_tabWidget_tabBarClicked(int index);

    void on_pushButton_add_1_clicked();

    void on_pushButton_sub_1_clicked();

    void on_listWidget_itemClicked(QListWidgetItem *item);

    void on_pushButton_add_r_clicked();

    void on_pushButton_sub_r_clicked();

    void on_pushButton_add_c_clicked();

    void on_pushButton_sub_c_clicked();

    void on_pushButton_clear_clicked();

    void on_tableWidget_cellClicked(int row, int column);

    void on_pushButton_addtop_clicked();

    void on_pushButton_add_3_clicked();

    void on_pushButton_sub_3_clicked();

     void on_pushButton_cleartree_clicked();

     void on_treeWidget_itemClicked(QTreeWidgetItem *item, int column);

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
